<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>茶余饭后</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/thinkphp/Public/css/index.css">
    <link rel="stylesheet" href="/thinkphp/Public/css/bootstrap.min.css">

</head>
<body>
<div class="row" id="top_img">
    <div class="col-xs-12" ><img src="/thinkphp/Public/images/rcity_31.jpg" style="width: 100%;height: 250px"></div>

</div>
<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="row">
    <a href="<?php echo U('Content/content');?>?id=<?php echo ($vo["id"]); ?>">
        <!--<?php if(empty($vo["img"])): ?>-->
            <!--<div class="col-xs-3 "><img src="/thinkphp/Public/images/555.png" style="height:120px"></div>-->
        <!--<?php else: ?>-->
            <!--<div class="col-xs-3 "><img src="/thinkphp/Public/<?php echo ($vo["img"]); ?>" style="height:120px"></div>-->
        <!--<?php endif; ?>-->
        <div class="col-xs-3 "><img src="/thinkphp/Public/<?php echo ($vo["img"]); ?>" onerror="this.src='/thinkphp/Public/images/555.png'" style="height:120px"></div>
        <div class="col-xs-6 col-xs-offset-1"><p style="color:red ;font-size: larger"><?php echo ($vo["title"]); ?></p></div>
        <div class="col-xs-3 " style="float: right"><p style="color: #0b77fb"><?php echo ($vo["add_time"]); ?></p></div>
    </a>
</div><?php endforeach; endif; else: echo "" ;endif; ?>

<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
    <div class="container clearfix">
        <div class="navbar-left" style="float: left; width: 50%; box-shadow: 1px 0 0 0 #ccc; display:flex; justify-content:center; align-items:center;">
            <a href="#" class="navbar-brand brand-title" style="color: #7fe1e5;">
                <img src="/thinkphp/Public/images/rcity_06.png" alt="" style="float: left">
                特色商城
            </a>
        </div>

        <div class="navbar-right" style="float: right; width: 50%; display:flex; justify-content:center; align-items:center;">
            <a href="#" class="navbar-brand brand-title" style="color: #7fe1e5;">
                <img src="/thinkphp/Public/images/rcity_05.png" alt="" style="float: left;">
                服务中心
            </a>
        </div>
    </div>
</nav>
<script src="/thinkphp/Public/js/jquery-1.12.3.js"></script>
<script src="/thinkphp/Public/js/bootstrap.min.js"></script>
<script src="/thinkphp/Public/js/coft.js"></script>
</body>
</html>